<div class="extauthors form">
<?php echo $this->Form->create('Authorlink'); ?>
	<fieldset>
		<legend><?php echo __('Add Extauthor'); ?></legend>
		<?php 
			echo $this->Form->hidden('recordid', array('value' => $record_id));
			echo $this->Form->hidden('recordtype_id', array('value' => $recordtype_id));
			echo $this->Form->hidden('authortype_id', array('value' => $authortype_id));
		?>
		<table width="100%" class="invisibletable">
  <tr>
    <td width="15%" align="right">Тип внешнего автора</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php  echo $this->Form->input('extauthortype_id', array('label' => '', 'empty' => 'Выберите тип внешнего автора')); ?>

	</td>
  </tr>
  <tr>
    <td width="15%" align="right">Фамилия</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php  echo $this->Form->input('lastname', array('label' => '')); ?></td>
  </tr>
  <tr>
    <td width="15%" align="right">Имя</td>
    <td width="2%" align="right"></td>
    <td width="45%"><?php  echo $this->Form->input('firstname', array('label' => '')); ?></td>
  </tr>
  <tr>
    <td width="15%" align="right">Отчество</td>
    <td width="2%" align="right"></td>
    <td width="45%"><?php  echo $this->Form->input('surname', array('label' => '')); ?></td>
  </tr>
  <tr>
    <td align="right">Адрес электронной почты</td>
    <td align="right">&nbsp;</td>
    <td><?php  echo $this->Form->input('mail', array('label' => '')); ?></td>
  </tr>
  </table>
	</fieldset>
	<br />
<?php echo $this->Form->end(__('Submit')); ?>
</div>